package com.traxex.modal;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.One;
import org.nutz.dao.entity.annotation.Table;

@Table("industrynews")
public class IndustryNews {

	@Column("newsid")
	@Name
	private String newsId;
	@Column("newstitle")
	private String newsTitle;
	@Column("newscontent")
	private String newsContent;
	@Column("newstype")
	private String newsType;
	@One(target=IndustryNewsType.class,field="newsType")
	private IndustryNewsType type;
	@Column("newssource")
	private String newsSource;
	@Column("newslink")
	private String newsLink;
	@Column
	private String managerid;
	@One(target=Manager.class,field="managerid")
	private Manager manager;
	@Column
	private String newsdate;
	public String getNewsId() {
		return newsId;
	}
	public void setNewsId(String newsId) {
		this.newsId = newsId;
	}
	public String getNewsTitle() {
		return newsTitle;
	}
	public void setNewsTitle(String newsTitle) {
		this.newsTitle = newsTitle;
	}
	public String getNewsContent() {
		return newsContent;
	}
	public void setNewsContent(String newsContent) {
		this.newsContent = newsContent;
	}
	public String getNewsType() {
		return newsType;
	}
	public void setNewsType(String newsType) {
		this.newsType = newsType;
	}
	public String getNewsSource() {
		return newsSource;
	}
	public void setNewsSource(String newsSource) {
		this.newsSource = newsSource;
	}
	public String getNewsLink() {
		return newsLink;
	}
	public void setNewsLink(String newsLink) {
		this.newsLink = newsLink;
	}
	public Manager getManager() {
		return manager;
	}
	public void setManager(Manager manager) {
		this.manager = manager;
	}
	public String getManagerid() {
		return managerid;
	}
	public void setManagerid(String managerid) {
		this.managerid = managerid;
	}
	public String getNewsdate() {
		return newsdate;
	}
	public void setNewsdate(String newsdate) {
		this.newsdate = newsdate;
	}
	public IndustryNewsType getType() {
		return type;
	}
	public void setType(IndustryNewsType type) {
		this.type = type;
	}
}
